//
// Created by liushuai on 2020/3/23.
//

#include "TreeNode.h"
TreeNode::TreeNode(int x):val(x),left(nullptr),right(nullptr) {}
TreeNode::TreeNode(int x, TreeNode *l, TreeNode *r):val(x),left(l),right(r) {}